Skip to content

Add firecracker volume export/release commands for NFS-backed host paths - #113

Merged
schaefi merged 1 commit into
mainfrom
copilot/add-flake-ctl-firecracker-volume-commands
Sep 3, 2026
Merged

Add firecracker volume export/release commands for NFS-backed host paths#113
schaefi merged 1 commit into
mainfrom
copilot/add-flake-ctl-firecracker-volume-commands

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This adds flake-ctl firecracker volume export and flake-ctl firecracker volume release to manage host paths shared with Firecracker guests through NFS. The change also updates packaging so the Firecracker subpackage declares the required NFS server dependency.

  • New firecracker volume commands

    • Adds volume export --path <PATH> and volume release --path <PATH> under flake-ctl firecracker
    • Validates that paths are absolute before touching system configuration
  • NFS export management

    • export writes a flake-pilot-managed entry to /etc/exports for the Firecracker guest network
    • release removes only the flake-pilot-managed entry for the specified path
    • Uses a marker-based entry format to avoid disturbing unrelated exports
  • Service handling

    • export starts nfs-server if it is not already active; otherwise it reloads exports
    • release restarts nfs-server after removing the entry so the change takes effect
  • Packaging and operator-facing updates

    • Adds nfs-kernel-server to the flake-pilot-firecracker package requirements
    • Updates bash completion and adds manpages for both new commands
flake-ctl firecracker volume export --path /some/local/path
flake-ctl firecracker volume release --path /some/local/path

@schaefi
schaefi marked this pull request as ready for review September 2, 2026 14:48
@schaefi
schaefi force-pushed the copilot/add-flake-ctl-firecracker-volume-commands branch from a50d72b to 22968bf Compare September 2, 2026 15:09
Add firecracker volume export/release commands for
NFS-backed host paths

Assisted-by: GPT-5.4
@schaefi
schaefi force-pushed the copilot/add-flake-ctl-firecracker-volume-commands branch from 22968bf to 34444d3 Compare September 2, 2026 15:12
@schaefi
schaefi merged commit 14bbecd into main Sep 3, 2026
6 checks passed
@schaefi
schaefi deleted the copilot/add-flake-ctl-firecracker-volume-commands branch September 3, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants